<?php if (!defined ('TYPO3_MODE')) 	die ('Access denied.'); ?>

<br /><hr /><br />

<h2>Example 11: RTE</h2>

<h3>Transformation</h3>
<?php echo $this->t3rte()->transform('<link example@example.com>E-mail link</link>') ?>
<?php echo $this->t3rte()->transform("Ut wisi enim ad minim veniam,\nquis nostrud exerci <link www.google.com>tation ullamcorper</link> suscipit lobortis\nnisl ut aliquip ex ea <link 1>commodo</link> consequat.\nDuis autem vel eum iriure dolor in\nhendrerit in vulputate velit esse molestie consequat.") ?>

<h3>Editor</h3>
<form action="<?php $this->t3url()->thisPage() ?>" method="post" onsubmit="rteHandler1();rteHandler2();">
	<?php echo $this->t3rte()->editor('rteTest1', $this->rteTest1) ?>
	<?php echo $this->t3rte()->editor('rteTest2', $this->rteTest2) ?>
	<input type="submit" value="Submit" />
</form>
